<?php
  $yhendus=new mysqli("localhost", "if13", "ifikad", "if13_keaty_e");

  function lisaruum($ruuminr){
  global $yhendus;
  $kask=$yhendus->prepare("INSERT INTO tsekk (ruuminr) VALUES (?)");
  $kask->bind_param("i", $ruuminr);
  $kask->execute();
	
  }
  if( array_pop(explode("/", $_SERVER["PHP_SELF"]))=="abikas.php"):
?>
<?php endif ?>
